package com.syni.mdd.yhd.common.all.service;

import com.syni.mdd.yhd.common.all.dao.jpa.BmsVerRecordDao;
import com.syni.mdd.yhd.common.all.entity.BmsDxGroupBuyUse;
import com.syni.mdd.yhd.common.all.entity.BmsVerRecord;
import com.syni.mdd.yhd.common.all.entity.coupon.BmsUserReceCoupon;

import java.util.List;

/**
 * @className
 * @description TOO
 * @Author cfx
 * @DATE 2019/4/9 12:04
 * @VERSION 1.0
 **/
public interface BmsVerRecordService{

    BmsVerRecordDao getBaseDao();


    void addRecordByBuyQuan(List<BmsDxGroupBuyUse> bmsDxGroupBuyUses);

    List<BmsVerRecord> getRecodeByCodes(List<String> groupBuyUseCode);

    List<BmsVerRecord> getRecodeByOrderId(Integer orderId);

    List<BmsVerRecord> getRecodeByReceId(Integer orderId);

    void addRecordByReceQuan(List<BmsUserReceCoupon> bmsUserReceCoupons);

    void addRecordByReceQuan(BmsUserReceCoupon bmsUserReceCoupons);

    BmsVerRecord getRecodeByVerId(String verId);

    List<BmsVerRecord> getRecodeByCode(String code);
}
